package com.platform.api;

import com.platform.annotation.IgnoreAuth;
import com.platform.service.ApiAdService;
import com.platform.util.ApiBaseAction;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者: @author Harmon <br>
 * 时间: 2017-08-11 08:32<br>
 * 描述: ApiIndexController <br>
 */
@Api(tags = "首页接口文档")
@RestController
@RequestMapping("/api/index")
public class ApiIndexController extends ApiBaseAction {
    @Autowired
    private ApiAdService adService;

    /**
     * app首页
     */
    @ApiOperation(value = "首页接口")
    @IgnoreAuth
    @GetMapping(value = "firstpage")
    public Object firstpage() {

        return toResponsSuccess(true);
    }

}